package com.liuh.edu.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuh
 * @since 2018-06-21
 */
@TableName("room_info")
public class RoomInfo extends Model<RoomInfo> {

    private static final long serialVersionUID = 1L;

    private Integer cId;

    /**
     * 教室名称
     */
    @TableField("class_room_name")
    private String classRoomName;

    /**
     * 座位数
     */
    @TableField("site_num")
    private Integer siteNum;

    /**
     * 是否有投影
     */
    @TableField("is_projector")
    private String isProjector;

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer id) {
        this.cId = id;
    }
    public String getClassRoomName() {
        return classRoomName;
    }

    public void setClassRoomName(String classRoomName) {
        this.classRoomName = classRoomName;
    }
    public Integer getSiteNum() {
        return siteNum;
    }

    public void setSiteNum(Integer siteNum) {
        this.siteNum = siteNum;
    }
    public String getIsProjector() {
        return isProjector;
    }

    public void setIsProjector(String isProjector) {
        this.isProjector = isProjector;
    }

    @Override
    protected Serializable pkVal() {
        return this.cId;
    }

    @Override
    public String toString() {
        return "RoomInfo{" +
        "id=" + cId +
        ", classRoomName=" + classRoomName +
        ", siteNum=" + siteNum +
        ", isProjector=" + isProjector +
        "}";
    }
}
